// com.example.service.PlanService.java
package com.example.service;

import com.example.entity.Plan;
import java.util.List;

public interface PlanService {
    List<Plan> getAllPlans();
    Plan getPlanById(Integer planid);
    boolean addPlan(Plan plan);
    boolean updatePlan(Plan plan);
    boolean deletePlan(Integer planid);
}